<template>
  <div>
<!--    <Poptip  confirm-->
<!--             title="您确定要删除这条数据吗?"-->
<!--             @on-ok="deleteRow(rowData,index)">-->
          <Button type="error" @click="deleteRow(rowData,index)">删除</Button>
<!--    </Poptip>-->
  </div>
</template>

<script>
    export default {
      name:'table-operation',
      props:{
        rowData:{
          type:Object
        },
        field:{
          type:String
        },
        index:{
          type:Number
        },
        data() {
            return {
            }
        }
        },
        watch: {},
        computed: {},
        created() {

        },
        methods: {
          deleteRow(rowData,index) {
            this.$emit('on-custom-comp', rowData.confId);
          }
        }
    };
</script>
<style scoped>

</style>
